package mop.model.user;

import mop.exception.IllegalDescriptionException;
import mop.exception.IllegalDuplicationException;
import mop.exception.IllegalIdException;
import mop.model.DataBase;
import mop.security.acl.RoleInterface;

/**
 * Administrator user
 * @author MOP Team 7
 */
public class Administrator extends User{
	
	/**
	 * Create administrator user
	 * @param name
	 * @param db
	 * @throws IllegalDescriptionException
	 * @throws IllegalDuplicationException
	 * @throws IllegalIdException
	 */
	public Administrator(String name, DataBase<User> db)
			throws IllegalDescriptionException, IllegalDuplicationException,
			IllegalIdException {
		super(null, name, db);
	}

	/**
	 * @see RoleInterface#getRoleId()
	 */
	@Override
	public String getRoleId() {
		return "Administrator";
	}
}
